// /** @type {import('next').NextConfig} */
// const nextConfig = {};

// module.exports = nextConfig;
/** @type {import('next').NextConfig} */
const nextConfig = {

    images: { unoptimized: true },
    webpack: (config, { buildId, dev, isServer, defaultLoaders, webpack }) => {
        // 其他配置...
        config.module.rules.push({
            test: /canvas\.node$/,
            use: 'file-loader',
        });

        // 返回修改后的配置
        return config;
    },
}

module.exports = nextConfig
